package com.example.api.feign;

import com.example.api.fallback.DemoServiceFallback;
import com.example.common.msg.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service-upms",fallback = DemoServiceFallback.class)
public interface IDemoService {
  @RequestMapping(value="/api/test",method = RequestMethod.GET)
  public R test();
}
